##
# Copyright (c) 2011 Nokia Corporation.
#

CONFIG += mobility

QT += core \
      gui \
      declarative \
      network

MOBILITY += feedback \
            systeminfo

TARGET = backuptogo
VERSION = 0.1.0
TEMPLATE = app
ICON = graphics/backuptogo_icon.svg

# Uncomment the following line in order to enable debug logs (e.g. in form of
# printing to console).
#DEFINES += DEBUG

INCLUDEPATH += . \
               ./inc \
               ./moc

MOC_DIR += ./moc

HEADERS += inc/backupengine.h \
           inc/drivemodel.h \
           inc/filecopyoperation.h \
           inc/filemanager.h \
           inc/filemodel.h \
           inc/haptics.h \
           inc/trace.h

SOURCES += src/main.cpp \
           src/backupengine.cpp \
           src/drivemodel.cpp \
           src/filecopyoperation.cpp \
           src/filemanager.cpp \
           src/filemodel.cpp \
           src/haptics.cpp

OTHER_FILES += qml/main.qml \
               qml/BlurScreen.qml \
               qml/Button.qml \
               qml/Constants.qml \
               qml/Dialog.qml \
               qml/DriveSelectionDialog.qml \
               qml/FileBrowser.qml \
               qml/FileBrowserView.qml \
               qml/InfoView.qml \
               qml/Label.qml \
               qml/MainView.qml \
               qml/NavigationBar.qml \
               qml/NavigationButton.qml \
               qml/PathController.qml \
               qml/ProgressIndicator.qml \
               qml/TitleBar.qml \
               qml/ViewSwitcher.qml \
               qml/ViewLoader.qml \
               qml/TitleBar.qml

RESOURCES += rsc/backuptogo.qrc
               
symbian*: {
    CONFIG(debug) {
        message(In debug mode.)
        TARGET = BackupToGo
    } else {
        message(Setting target to "Backup2Go")
        TARGET = Backup2Go
    }

    TARGET.UID3 = 0xe5519bac
    TARGET.CAPABILITES += NetworkServices \
                          ReadUserData \
                          WriteUserData
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x2000000
    
    LIBS += -lcone \
            -lws32 \
            -lbafl \
            -legul \
            -lavkon
}

# End of file.
